HipOpenALAudioPlayer

Wraps OpenAL API onto the IAudioPlayer interface. With that, when HipAudioSourceAPI receives that interface, it will update OpenAL properties through that interface.

Constructors

this
this(AudioConfig cfg)
Undocumented in source.

Members

Functions

getClip
HipAudioClipAPI getClip()
Undocumented in source. Be warned that the author may not have intended to support it.
getSource
AHipAudioSource getSource(bool isStreamed)
Undocumented in source. Be warned that the author may not have intended to support it.
loadStreamed
HipAudioClipAPI loadStreamed(string path, uint chunkSize)
Undocumented in source. Be warned that the author may not have intended to support it.
onDestroy
void onDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
play_streamed
bool play_streamed(AHipAudioSource src)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.
updateStream
void updateStream(AHipAudioSource source)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getClipHint
HipAudioClipHint getClipHint()

OpenAL has an embedded resampler

initializeOpenAL
bool initializeOpenAL()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

PANNING_CONSTANT
ALfloat PANNING_CONSTANT;

Constant used for making the panning distance offset from the listener

config
AudioConfig config;
Undocumented in source.
context
ALCcontext* context;
Undocumented in source.
device
ALCdevice* device;
Undocumented in source.

Inherited Members

From IHipAudioPlayer

play_streamed
bool play_streamed(AHipAudioSource src)
Undocumented in source.
getClip
IHipAudioClip getClip()
Undocumented in source.
loadStreamed
IHipAudioClip loadStreamed(string path, uint chunkSize)
Undocumented in source.
updateStream
void updateStream(AHipAudioSource source)
Undocumented in source.
getSource
AHipAudioSource getSource(bool isStreamed)
Undocumented in source.
onDestroy
void onDestroy()
Undocumented in source.
update
void update()
Undocumented in source.

Meta